setActivated

open fun setActivated(view: View, activated: Boolean)(source)

Deprecated

Use setActivated directly.

Changes the activated state of this view. A view can be activated or not. Note that activation is not the same as selection. Selection is a transient property, representing the view (hierarchy) the user is currently interacting with. Activation is a longer-term state that the user can move views in and out of.

Parameters

view

view for which to set the state.

activated

true if the view must be activated, false otherwise